/* 版心 */
.wrapper {
  width: 1240px;
  margin: 0 auto;
}

// 颜色变量
@fontColor: #a1a1a1;
@activeColor: #00be9a;

.shortcut {
  height: 52px;
  background: #333;
  .wrapper {
    display: flex;
    justify-content: flex-end;
    line-height: 52px;
    ul {
      display: flex;
      li:last-child a {
        border-right: 0;
      }
      a {
        padding: 0 15px;
        font-size: 14px;
        color: #fff;
        border-right: 1px solid #999;
        &:hover {
          color: @activeColor;
        }
        i {
          display: inline-block;
          font-size: 19px;
          vertical-align: middle;
          margin-top: -3px;
        }
      }
    }
  }
}
// header部分
.header {
  display: flex;
  padding: 22px 0;
  // background: orange;
  .logo {
    width: 200px;
    height: 88px;
    a {
      display: block;
      overflow: hidden;
      height: 88px;
      text-indent: -9999em;
      background: url(../images/logo.png);
    }
  }
  .nav {
    margin-left: 40px;
    ul {
      display: flex;
      margin-top: 30px;
      li {
        margin-right: 40px;
        a {
          padding: 10px 0;
          &:hover {
            color: @activeColor;
            border-bottom: 2px solid @activeColor;
          }
        }
      }
    }
  }

  .search {
    position: relative;
    width: 200px;
    height: 40px;
    // background: pink;
    margin: 20px 0 0 27px;
    padding-left: 28px;
    border-bottom: 2px solid #f4f4f4;
    input {
      width: 170px;
      height: 40px;
      border-bottom: 2px solid #f4f4f4;
      transition: all 0.3s;
      &::placeholder {
        color: #ccc;
      }
      &:focus {
        width: 200px;
      }
    }
    i {
      position: absolute;
      top: 5px;
      left: 0;
      font-size: 20px;
      color: #ccc;
      cursor: pointer;
    }
  }

  .cart {
    position: relative;
    margin: 10px 0 0 40px;

    i {
      font-size: 40px;
    }
    span {
      position: absolute;
      top: 0;
      left: 20px;
      padding: 0 8px;
      background: #e26237;
      border-radius: 10px;
      color: #fff;
    }
  }
}

// footer部分
.footer {
  height: 582px;
  background: #f5f5f5;
  // background: pink;
}
.service {
  padding: 60px 0;
  border-bottom: 1px solid #e8e8e8;
  ul {
    display: flex;
    justify-content: space-evenly;
    li {
      display: flex;
      // width: 190px;
      height: 58px;
      // background: pink;
      &:nth-child(2) h5 {
        background-position: 0 -58px;
      }
      &:nth-child(3) h5 {
        background-position: 0 -116px;
      }
      &:nth-child(4) h5 {
        background-position: 0 -174px;
      }
      h5 {
        overflow: hidden;
        width: 58px;
        height: 58px;
        text-indent: -9999em;
        background: url(../images/sprite.png);
      }
      p {
        margin-left: 20px;
        font-size: 28px;
        line-height: 58px;
      }
    }
  }
}

.help {
  display: flex;
  justify-content: space-between;
  height: 302px;
  padding-top: 60px;
  .left {
    display: flex;
    dl {
      margin-right: 80px;
      dt {
        margin-bottom: 30px;
        font-size: 18px;
      }
      dd {
        margin-bottom: 10px;
        a {
          color: @fontColor;
        }
      }
    }
    .icon-customer-service {
      color: @activeColor;
    }
  }
  .right {
    ul {
      display: flex;
      li:last-child {
        margin-left: 55px;
      }
      img {
        width: 120px;
        height: 120px;
      }
      p {
        margin-top: 10px;
        text-align: center;
        color: @fontColor;
      }
    }
  }
}

.copyright {
  text-align: center;
  line-height: 30px;
  color: @fontColor;
  a {
    color: @fontColor;
  }
  span {
    margin: 0 8px;
  }
}
